﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="EditModel.aspx.vb" Inherits="EditModel" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Edit Model</title>
</head>
<body>
    <form id="form1" runat="server">
<div id="divModel" runat="server" style="float:right; font-family:Lucida Sans">
        <table>
            <tr>
                <td colspan="2" align="left"><h1>Connection Details:</h1></td>
            </tr>
            <tr>
                <td><asp:Label ID="lblModel_Name" runat="server" Text="Model Name:"></asp:Label></td>
                <td><asp:TextBox ID="txtModel_Name" runat="server" width="600px"/></td>
            </tr>
            <tr>
                <td><asp:Label ID="lblModel_Provider" runat="server" Text="Model Provider:"></asp:Label></td>
                <td><asp:TextBox ID="txtModel_Provider" runat="server" width="600px">System.Data.SqlClient</asp:TextBox></td>
            </tr>
            <tr>
                <td><asp:Label ID="lblModel_ProviderConnectionString" runat="server" Text="Model Provider Connection String:"></asp:Label></td>
                <td><asp:TextBox ID="txtModel_ProviderConnectionString" runat="server" width="600px">Data Source=.\SQLEXPRESS;Initial Catalog=DATABASE_NAME;Integrated Security=True</asp:TextBox></td>
            </tr>
             <tr>
                <td><asp:Label ID="lblModel_Csdl" runat="server" Text="Upload a new CSDL file:"></asp:Label></td>
                <td><asp:FileUpload ID="fileModel_Csdl" runat="server" /></td>
            </tr>
            <tr>
                <td><asp:Label ID="lblModel_Ssdl" runat="server" Text="Upload a new SSDL file:"></asp:Label></td>
                <td><asp:FileUpload ID="fileModel_Ssdl" runat="server" /></td>
            </tr>
            <tr>
                <td><asp:Label ID="lblModel_Msl" runat="server" Text="Upload a new MSL file:"></asp:Label></td>
                <td><asp:FileUpload ID="fileModel_Msl" runat="server" /></td>
            </tr>
        </table>
        <asp:Button ID="btnModelSave" runat="server" Text="Save" 
            onclick="btnModelSave_Click" />&nbsp;&nbsp;&nbsp;<asp:Button ID="btnModelCancel" 
                runat="server" Text="Cancel" onclick="btnModelCancel_Click" 
                    style="height: 26px"/>
    </div>
    </form>
</body>
</html>
